<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
<link href="css/reset.css" rel="stylesheet" type="text/css" />
<link href="css/gird.css" rel="stylesheet" type="text/css" />
<link href="css/usercenter.css" rel="stylesheet" type="text/css" />
</head>


<script src="../js/jquery_last.js" type="text/javascript"></script>
<link type="text/css" rel="stylesheet" href="../js/style/validator.css"></link>
<script src="../js/formValidator.js" type="text/javascript" charset="UTF-8"></script>
<script src="../js/formValidatorRegex.js" type="text/javascript" charset="UTF-8"></script>
<script language="javascript" src="../js/DateTimeMask.js" type="text/javascript"></script>
<script defer="defer" src="../js/datepicker/WdatePicker.js" type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(function(){
	$.formValidator.initConfig({formid:"form1",onerror:function(msg){alert(msg)},onsuccess:function(){return true;}});
	
	
	$("#com_legal").formValidator({onshow:"请输入法人代表姓名",onfocus:"请输入法人代表姓名",oncorrect:"法人代表姓名合法"}).inputValidator({min:1,empty:{leftempty:false,rightempty:false,emptyerror:"法人代表姓名两边不能有空符号"},onerror:"法人代表姓名不能为空,请确认"});
	$("#com_legal_tel").formValidator({onshow:"请输入法人代表电话",onfocus:"请输入法人代表电话",oncorrect:"请输入法人代表电话"}).inputValidator({min:1,empty:{leftempty:false,rightempty:false,emptyerror:"请输入法人代表电话两边不能有空符号"},onerror:"请输入法人代表电话不能为空,请确认"});
	$("#com_legal_mail").formValidator({onshow:"请输入法人代表邮箱",onfocus:"邮箱6-100个字符,输入正确了才能离开焦点",oncorrect:"恭喜您,你输对了",forcevalid:true}).inputValidator({min:6,max:100,onerror:"你输入的邮箱长度非法,请确认"}).regexValidator({regexp:"^([\\w-.]+)@(([[0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3}.)|(([\\w-]+.)+))([a-zA-Z]{2,4}|[0-9]{1,3})(]?)$",onerror:"你输入的邮箱格式不正确"});
	$("#manage_name").formValidator({onshow:"请输入总经理姓名",onfocus:"请输入总经理姓名",oncorrect:"总经理姓名合法"}).inputValidator({min:1,empty:{leftempty:false,rightempty:false,emptyerror:"总经理姓名两边不能有空符号"},onerror:"总经理姓名为空,请确认"});
	$("#manage_tel").formValidator({onshow:"请输入总经理电话",onfocus:"请输入总经理电话",oncorrect:"总经理电话合法"}).inputValidator({min:1,empty:{leftempty:false,rightempty:false,emptyerror:"总经理电话两边不能有空符号"},onerror:"总经理电话不能为空,请确认"});
	$("#manage_mail").formValidator({onshow:"请输入总经理邮箱",onfocus:"邮箱6-100个字符,输入正确了才能离开焦点",oncorrect:"恭喜您,你输对了",forcevalid:true}).inputValidator({min:6,max:100,onerror:"你输入的邮箱长度非法,请确认"}).regexValidator({regexp:"^([\\w-.]+)@(([[0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3}.)|(([\\w-]+.)+))([a-zA-Z]{2,4}|[0-9]{1,3})(]?)$",onerror:"你输入的邮箱格式不正确"});
	$("#contact_name").formValidator({onshow:"请输入联系人姓名",onfocus:"请输入联系人姓名",oncorrect:"联系人姓名合法"}).inputValidator({min:1,empty:{leftempty:false,rightempty:false,emptyerror:"联系人姓名两边不能有空符号"},onerror:"联系人姓名不能为空,请确认"});
	$("#contact_tel").formValidator({onshow:"请输入联系人电话",onfocus:"请输入联系人电话",oncorrect:"联系人电话合法"}).inputValidator({min:1,empty:{leftempty:false,rightempty:false,emptyerror:"联系人电话两边不能有空符号"},onerror:"联系人电话不能为空,请确认"});
	$("#contact_mail").formValidator({onshow:"请输入联系人邮箱",onfocus:"邮箱6-100个字符,输入正确了才能离开焦点",oncorrect:"恭喜您,你输对了",forcevalid:true}).inputValidator({min:6,max:100,onerror:"你输入的邮箱长度非法,请确认"}).regexValidator({regexp:"^([\\w-.]+)@(([[0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3}.)|(([\\w-]+.)+))([a-zA-Z]{2,4}|[0-9]{1,3})(]?)$",onerror:"你输入的邮箱格式不正确"});
});

</script>


<body>
<div class="page">
  <div class="header">header</div>
  <div class="content">
    <div class="gird-s5c19">
      <div class="col-main">
        <h2>申请企业会员</h2>
        <ol class="progress step2">
          <li>1.企业基本信息</li>
          <li class="on">2.企业联系方式</li>
          <li>3.企业规模</li>
          <li>4.企业生产设备</li>
          <li>5.企业主要产品</li>
        </ol>
        <h3>第二步，填写企业的联系方式：</h3>
        <div class="input">
          <form name="form1" id="form1" action="../user/addComUser2.action" method="post">
            <h4>法人代表联系方式</h4>
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <th width="120">法人代表姓名：</th>
                <td width="240"><input id="com_legal" name="companyUser.com_legal" type="text" class="" /></td>
                <td><div id="com_legalTip"></div></td>
              </tr>
              <tr>
                <th>法人代表性别：</th>
                <td><select size="1" id="com_legal_sex" name="companyUser.com_legal_sex"><option value="男">男</option>
                      <option value="女">女</option>
                    </select>
                </td>
                <td>&nbsp;</td>
              </tr>
              <tr>
                <th>法人代表电话：</th>
                <td><input id="com_legal_tel" name="companyUser.com_legal_tel" type="text" class="" /></td>
                <td><div id="com_legal_telTip"></div></td>
              </tr>
              <tr>
                <th>法人代表传真：</th>
                <td><input id="com_legal_fax" name="companyUser.com_legal_fax" type="text" /></td>
                <td><div id="Tip"></div></td>
              </tr>
              <tr>
                <th>法人代表邮箱：</th>
                <td><input id="com_legal_mail" name="companyUser.com_legal_mail" type="text" /></td>
                <td><div id="com_legal_mailTip"></div></td>
              </tr>
            </table>
            <h4>总经理联系方式</h4>
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <th width="120">总经理姓名：</th>
                <td width="240"><input id="manage_name" name="companyUser.manage_name" type="text" class="" /></td>
                <td><div id="manage_nameTip"></div></td>
              </tr>
              <tr>
                <th>总经理性别：</th>
                <td><select size="1" id="zylb" name="companyUser.manage_sex"><option value="男">男</option>
                      <option value="女">女</option>
                    </select>
                </td>
                <td>&nbsp;</td>
              </tr>
              <tr>
                <th>总经理电话：</th>
                <td><input id="manage_tel" name="companyUser.manage_tel" type="text" class="" /></td>
                <td><div id="manage_telTip"></div></td>
              </tr>
              <tr>
                <th>总经理传真：</th>
                <td><input id="manage_fax" name="companyUser.manage_fax" type="text" /></td>
                <td><div id="Tip"></div></td>
              </tr>
              <tr>
                <th>总经理邮箱：</th>
                <td><input id="manage_mail" name="companyUser.manage_mail" type="text" /></td>
                <td><div id="manage_mailTip"></div></td>
              </tr>
            </table>
            <h4>企业联系人联系方式</h4>
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <th width="120">联系人姓名：</th>
                <td width="240"><input id="contact_name" name="companyUser.contact_name" type="text" class="" /></td>
                <td><div id="contact_nameTip"></div></td>
              </tr>
              <tr>
                <th>联系人性别：</th>
                <td><select size="1" id="zylb" name="companyUser.contact_sex"><option value="男">男</option>
                      <option value="女">女</option>
                    </select>
                </td>
                <td>&nbsp;</td>
              </tr>
              <tr>
                <th>联系人电话：</th>
                <td><input id="contact_tel" name="companyUser.contact_tel" type="text" class="" /></td>
                <td><div id="contact_telTip"></div></td>
              </tr>
              <tr>
                <th>联系人传真：</th>
                <td><input id="contact_fax" name="companyUser.contact_fax" type="text" /></td>
                <td><div id="Tip"></div></td>
              </tr>
              <tr>
                <th>联系人邮箱：</th>
                <td><input id="contact_mail" name="companyUser.contact_mail" type="text" /></td>
                <td><div id="contact_mailTip"></div> </td>
              </tr>
            </table>
        </div>
        <div class="btn"><button type="submit" class="next">下一步，填写企业规模</button></div>
       </form>
      </div>
      <div class="col-sub">
        <div class="box">
          <div class="box-tp"></div>
          <div class="box-main">
            <h2>用户中心</h2>
            <ul>
              <li><a href="../user/getComRegState.action">申请企业会员</a></li>
              <li><a href="../user/webUserEdit.action">资料修改</a></li>
              <li><a href="#">参与行业普查</a></li>
              <li><a href="#">我要投稿</a></li>
              <li><a href="../user/UserLoginOut.action">退出</a></li>
            </ul>
          </div>
          <div class="box-bt"></div>
        </div>
      </div>
    </div>
  </div>
  <div class="footer"></div>
</div>
</body>
</html>
